package com.xinjian.jianba.dto;

import java.io.Serializable;
import java.math.BigDecimal;

public class UserLocationDto implements Serializable {
	/**
	 * 
	 * @since JDK 1.7
	 */
	private static final long serialVersionUID = 3445055445300422047L;
	private String id;

	private BigDecimal lngfloat;
	private BigDecimal latfloat;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigDecimal getLngfloat() {
		return lngfloat;
	}

	public void setLngfloat(BigDecimal lngfloat) {
		this.lngfloat = lngfloat;
	}

	public BigDecimal getLatfloat() {
		return latfloat;
	}

	public void setLatfloat(BigDecimal latfloat) {
		this.latfloat = latfloat;
	}

	public String getGeom() {
		return "POINT(".concat(lngfloat.toString()) + " " + latfloat.toString() + ")";
	}

}
